[gd_scene load_steps=8 format=3 uid="uid://ve387yxxqs8a"]

[ext_resource type="Script" path="res://scenes/menus/secondary_menu/secondary_menu.gd" id="1_e8wpr"]
[ext_resource type="Texture2D" uid="uid://cgfevouuaj838" path="res://assets/sprites/background/background.png" id="2_vnh85"]
[ext_resource type="PackedScene" path="res://scenes/ui/wood_plate/wood_plate.tscn" id="3_gws0j"]
[ext_resource type="PackedScene" uid="uid://rgll4to22jal" path="res://scenes/ui/wood_button/wood_button.tscn" id="4_h3xpk"]
[ext_resource type="Texture2D" uid="uid://dv5nc13lm58xs" path="res://assets/sprites/hud/home/home.png" id="5_0qjg8"]

[sub_resource type="AtlasTexture" id="AtlasTexture_85w0y"]
atlas = ExtResource("5_0qjg8")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_e1vxw"]
atlas = ExtResource("5_0qjg8")
region = Rect2(0, 32, 32, 32)

[node name="SecondaryMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_e8wpr")

[node name="Background" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 384.0
offset_bottom = 192.0
texture = ExtResource("2_vnh85")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4

[node name="Plate" parent="MarginContainer" instance=ExtResource("3_gws0j")]
layout_mode = 2

[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/Plate"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Plate/MarginContainer"]
layout_mode = 2

[node name="Control" type="Control" parent="MarginContainer/Plate/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3

[node name="HomeButton" parent="MarginContainer/Plate/MarginContainer/VBoxContainer" instance=ExtResource("4_h3xpk")]
custom_minimum_size = Vector2(320, 32)
layout_mode = 2
texture_normal = SubResource("AtlasTexture_85w0y")
texture_pressed = SubResource("AtlasTexture_e1vxw")
texture_hover = SubResource("AtlasTexture_e1vxw")

[connection signal="pressed" from="MarginContainer/Plate/MarginContainer/VBoxContainer/HomeButton" to="." method="_on_home_button_pressed"]
